package cn.layfolk.uaa.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 请求账号密码
 */
@Data
public class UserLoginInDto {

    @ApiModelProperty(value = "用户名",example = "lisi")
    @NotNull
    private String username;

    @ApiModelProperty(value = "密码",example = "123456")
    @NotNull(message = "密码不能为空")
    private String password;

}
